import { post,get,put } from "../utils/request";

export const loginAPL = (data) => post("/api/v1/auth/login", data);

export const registerAPL = (data) => post("/api/v1/auth/reg", data);

export const userInfoAPL = () => get("/api/v1/user/info");

export const personalAPL = (data) => put("/api/v1/user/modify",data);


export const update_pwdAPL = (data) => put("/api/v1/user/update_pwd",data);